package com.kxy.auth.service.impl;

import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.security.core.userdetails.UserDetailsService;
import org.springframework.security.core.userdetails.UsernameNotFoundException;
import org.springframework.stereotype.Component;

import com.kxy.auth.model.MyUserPrincipal;


@Component
public class MyUserDetailsService implements UserDetailsService {

	public UserDetails loadUserByUsername(String username) throws UsernameNotFoundException {
		MyUserPrincipal userDetails = new MyUserPrincipal();
		// TODO Auto-generated method stub
		return userDetails;
	}

}
